Common Categories of HTML Tags
HTML tags are grouped into categories based on their purpose. These categories make it easier to understand how different elements are used in building a web page.
Example with Different Categories
Main HTML Tag Categories
- Document Metadata Tags (e.g., <head>, <title>, <meta>, <link>, <style>)
- Content Sectioning Tags (e.g., <header>, <footer>, <section>, <article>, <nav>)
- Text Content Tags (e.g., <p>, <h1>–<h6>, <span>, <div>, <blockquote>)
- Inline Text Semantics (e.g., <b>, <i>, <strong>, <em>, <mark>, <small>)
- Image and Multimedia Tags (e.g., <img>, <audio>, <video>, <figure>, <canvas>)
- Table Content Tags (e.g., <table>, <tr>, <td>, <th>, <caption>)
- Forms and Input Tags (e.g., <form>, <input>, <textarea>, <select>, <button>)
- Interactive Tags (e.g., <details>, <summary>, <dialog>)
- Scripting Tags (e.g., <script>, <noscript>, <template>)